Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Utility Functions /


JMJRIRefToJNIObject

Converts a JRI-based jref to a JNI-based jobject.

jobject JMJRIRefToJNIObject (
                     JMSessionRef session, 
                     JNIEnv* env, 
                     jref jriRef);
session
The current session.
env
The current JNIEnv data structure.
jriRef
The jref to convert.
function result
A pointer to the jobject object.
DISCUSSION
If you want to use jref object references with the Java Native Interface (JNI), you must convert them to jobject references using JMJRIRefToJNIObject. Note that you must have a pointer to the current JNIEnv data structure before calling this function.

SEE ALSO
The JMGetCurrentEnv function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997